home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September / CHIP_CD_2004-09.iso / test / bochs / files / Bochs-2.1.1.exe / / keymaps / sdl-pc-de.map next >
Text File  |  2004-02-08  |  14KB  |  223 lines

  1. # Bochs Keymap file
  2. # $Id: sdl-pc-de.map,v 1.2 2002/10/24 21:06:55 bdenney Exp $
  3. # Target: PC(x86) keyboard, DE keymap, SDL gui on X11
  4. # Author: Volker Ruppert
  5. #
  6. # The keymap file describes the layout of a keyboard, and how it translates
  7. # into Bochs key codes.
  8. #
  9. # Format:
  10. #  BX_Keysym                ASCII_equivalent      Host_key_name
  11. #
  12. # Or, for keys that require modifiers:
  13. #  BX_Keysym+BX_Modifier    ASCII_equivalent      Host_key_name
  14. #
  15. # BX_Keysym and BX_Modifier must be present in the bx_key_symbol[] list in
  16. # gui/keymap.cc.  The BX_Modifier is usually a shift key press, but it
  17. # could be any key.  Presently a maximum of one modifier is supported, but this
  18. # could be changed in keymap.h (structure def has only one slot for modifier),
  19. # keymap.cc (parsing code), and iodev/keyboard.cc (simulate keypresses for >1
  20. # modifier).
  21. #
  22. # The ASCII_equivalent must be either apostrophe + one character + apostrophe,
  23. # or one of these keywords: space, return, tab, backslash, apostrophe, none.
  24. # This format is designed to look like a char constant in C, but it's a very
  25. # simple parser.  There's no concept of backslash being an escape char.  The
  26. # backslash and apostrophe entries are provided for aesthetic purposes only: no
  27. # C++ programmer wants to see '\' or '''. The parser doesn't care, but they are
  28. # ugly.
  29. #
  30. # Host_key_name is the name of the key combination according to the gui library
  31. # (X windows, SDL, etc).  Each GUI module must provide a function that converts
  32. # these host key names into numbers.  A pointer to the conversion function is
  33. # passed to loadKeymap(), and it is used when parsing the keymap file.  As the
  34. # keymap file is parsed, the conversion function is called for each host key
  35. # name, to convert it into a number.  Only the number is stored.  If the host
  36. # key name is not found, the conversion function returns BX_KEYMAP_UNKNOWN, and
  37. # the keymap code will panic, like this: 
  38. #
  39. #    [KMAP ] line 51: unknown host key name 'SDLK_PAREN_RIGHT' 
  40. #
  41. # If this happens, you must edit the keymap file, and either correct the host
  42. # key name or comment out that line.
  43. #
  44.  
  45. BX_KEY_0                                      '0'        SDLK_0
  46. BX_KEY_0+BX_KEY_SHIFT_L                       '='        SDLK_EQUALS
  47. BX_KEY_1                                      '1'        SDLK_1
  48. BX_KEY_1+BX_KEY_SHIFT_L                       '!'        SDLK_EXCLAIM
  49. BX_KEY_2                                      '2'        SDLK_2
  50. BX_KEY_2+BX_KEY_ALT_R                         '▓'        SDLK_2
  51. BX_KEY_2+BX_KEY_SHIFT_L                       '"'        SDLK_QUOTEDBL
  52. BX_KEY_3                                      '3'        SDLK_3
  53. BX_KEY_3+BX_KEY_SHIFT_L                       'º'        SDLK_3
  54. BX_KEY_4                                      '4'        SDLK_4
  55. BX_KEY_4+BX_KEY_SHIFT_L                       '$'        SDLK_DOLLAR
  56. BX_KEY_4+BX_KEY_ALT_R                         '╝'        SDLK_4
  57. BX_KEY_5                                      '5'        SDLK_5
  58. BX_KEY_5+BX_KEY_ALT_R                         '╜'        SDLK_5
  59. BX_KEY_5+BX_KEY_SHIFT_L                       '%'        SDLK_5
  60. BX_KEY_6                                      '6'        SDLK_6
  61. BX_KEY_6+BX_KEY_SHIFT_L                       '&'        SDLK_AMPERSAND
  62. BX_KEY_7                                      '7'        SDLK_7
  63. BX_KEY_7+BX_KEY_ALT_R                         '{'        SDLK_7
  64. BX_KEY_7+BX_KEY_SHIFT_L                       '/'        SDLK_SLASH
  65. BX_KEY_8                                      '8'        SDLK_8
  66. BX_KEY_8+BX_KEY_ALT_R                         '['        SDLK_LEFTBRACKET
  67. BX_KEY_8+BX_KEY_SHIFT_L                       '('        SDLK_LEFTPAREN
  68. BX_KEY_9                                      '9'        SDLK_9
  69. BX_KEY_9+BX_KEY_ALT_R                         ']'        SDLK_RIGHTBRACKET
  70. BX_KEY_9+BX_KEY_SHIFT_L                       ')'        SDLK_RIGHTPAREN
  71. BX_KEY_A+BX_KEY_SHIFT_L                       'A'        SDLK_a
  72. BX_KEY_A                                      'a'        SDLK_a
  73. BX_KEY_A+BX_KEY_ALT_R                         'µ'        SDLK_a
  74. BX_KEY_B+BX_KEY_SHIFT_L                       'B'        SDLK_b
  75. BX_KEY_B                                      'b'        SDLK_b
  76. BX_KEY_C+BX_KEY_SHIFT_L                       'C'        SDLK_c
  77. BX_KEY_C                                      'c'        SDLK_c
  78. BX_KEY_C+BX_KEY_ALT_R                         'ó'        SDLK_c
  79. BX_KEY_D+BX_KEY_SHIFT_L                       'D'        SDLK_d
  80. BX_KEY_D                                      'd'        SDLK_d
  81. BX_KEY_E+BX_KEY_SHIFT_L                       'E'        SDLK_e
  82. BX_KEY_E+BX_KEY_ALT_R                         none       SDLK_EURO
  83. BX_KEY_E                                      'e'        SDLK_e
  84. BX_KEY_F+BX_KEY_SHIFT_L                       'F'        SDLK_f
  85. BX_KEY_F                                      'f'        SDLK_f
  86. BX_KEY_G+BX_KEY_SHIFT_L                       'G'        SDLK_g
  87. BX_KEY_G                                      'g'        SDLK_g
  88. BX_KEY_H+BX_KEY_SHIFT_L                       'H'        SDLK_h
  89. BX_KEY_H                                      'h'        SDLK_h
  90. BX_KEY_I+BX_KEY_SHIFT_L                       'I'        SDLK_i
  91. BX_KEY_I                                      'i'        SDLK_i
  92. BX_KEY_J+BX_KEY_SHIFT_L                       'J'        SDLK_j
  93. BX_KEY_J                                      'j'        SDLK_j
  94. BX_KEY_K+BX_KEY_SHIFT_L                       'K'        SDLK_k
  95. BX_KEY_K                                      'k'        SDLK_k
  96. BX_KEY_L+BX_KEY_SHIFT_L                       'L'        SDLK_l
  97. BX_KEY_L                                      'l'        SDLK_l
  98. BX_KEY_M+BX_KEY_SHIFT_L                       'M'        SDLK_m
  99. BX_KEY_M                                      'm'        SDLK_m
  100. BX_KEY_M+BX_KEY_ALT_R                         '╡'        SDLK_m
  101. BX_KEY_N+BX_KEY_SHIFT_L                       'N'        SDLK_n
  102. BX_KEY_N                                      'n'        SDLK_n
  103. BX_KEY_O+BX_KEY_SHIFT_L                       'O'        SDLK_o
  104. BX_KEY_O                                      'o'        SDLK_o
  105. BX_KEY_O+BX_KEY_ALT_R                         '°'        SDLK_o
  106. BX_KEY_P+BX_KEY_SHIFT_L                       'P'        SDLK_p
  107. BX_KEY_P                                      'p'        SDLK_p
  108. BX_KEY_Q+BX_KEY_SHIFT_L                       'Q'        SDLK_q
  109. BX_KEY_Q+BX_KEY_ALT_R                         '@'        SDLK_AT
  110. BX_KEY_Q                                      'q'        SDLK_q
  111. BX_KEY_R+BX_KEY_SHIFT_L                       'R'        SDLK_r
  112. BX_KEY_R+BX_KEY_ALT_R                         '╢'        SDLK_r
  113. BX_KEY_R                                      'r'        SDLK_r
  114. BX_KEY_S+BX_KEY_SHIFT_L                       'S'        SDLK_s
  115. BX_KEY_S                                      's'        SDLK_s
  116. BX_KEY_T+BX_KEY_SHIFT_L                       'T'        SDLK_t
  117. BX_KEY_T                                      't'        SDLK_t
  118. BX_KEY_U+BX_KEY_SHIFT_L                       'U'        SDLK_u
  119. BX_KEY_U                                      'u'        SDLK_u
  120. BX_KEY_V+BX_KEY_SHIFT_L                       'V'        SDLK_v
  121. BX_KEY_V                                      'v'        SDLK_v
  122. BX_KEY_W+BX_KEY_SHIFT_L                       'W'        SDLK_w
  123. BX_KEY_W                                      'w'        SDLK_w
  124. BX_KEY_X+BX_KEY_SHIFT_L                       'X'        SDLK_x
  125. BX_KEY_X+BX_KEY_ALT_R                         '╗'        SDLK_x
  126. BX_KEY_X                                      'x'        SDLK_x
  127. BX_KEY_Y+BX_KEY_SHIFT_L                       'Z'        SDLK_z
  128. BX_KEY_Y                                      'z'        SDLK_z
  129. BX_KEY_Z+BX_KEY_SHIFT_L                       'Y'        SDLK_y
  130. BX_KEY_Z+BX_KEY_ALT_R                         '½'        SDLK_y
  131. BX_KEY_Z                                      'y'        SDLK_y
  132. BX_KEY_F1                                     none       SDLK_F1
  133. BX_KEY_F2                                     none       SDLK_F2
  134. BX_KEY_F3                                     none       SDLK_F3
  135. BX_KEY_F4                                     none       SDLK_F4
  136. BX_KEY_F5                                     none       SDLK_F5
  137. BX_KEY_F6                                     none       SDLK_F6
  138. BX_KEY_F7                                     none       SDLK_F7
  139. BX_KEY_F8                                     none       SDLK_F8
  140. BX_KEY_F9                                     none       SDLK_F9
  141. BX_KEY_F10                                    none       SDLK_F10
  142. BX_KEY_F11                                    none       SDLK_F11
  143. BX_KEY_F12                                    none       SDLK_F12
  144. BX_KEY_ALT_L                                  none       SDLK_LALT
  145. BX_KEY_ALT_L                                  none       SDLK_LMETA
  146. BX_KEY_ALT_R                                  none       SDLK_RALT
  147. BX_KEY_ALT_R                                  none       SDLK_MODE
  148. BX_KEY_BACKSLASH                              apostrophe SDLK_QUOTE
  149. BX_KEY_BACKSLASH                              '#'        SDLK_HASH
  150. BX_KEY_BACKSPACE                              none       SDLK_BACKSPACE
  151. BX_KEY_CAPS_LOCK                              none       SDLK_CAPSLOCK
  152. BX_KEY_COMMA                                  ','        SDLK_COMMA
  153. BX_KEY_COMMA+BX_KEY_SHIFT_L                   ';'        SDLK_SEMICOLON
  154. BX_KEY_CTRL_L                                 none       SDLK_LCTRL
  155. BX_KEY_CTRL_R                                 none       SDLK_RCTRL
  156. BX_KEY_DELETE                                 none       SDLK_DELETE
  157. BX_KEY_DOWN                                   none       SDLK_DOWN
  158. BX_KEY_END                                    none       SDLK_END
  159. BX_KEY_ENTER                                  return     SDLK_RETURN
  160. BX_KEY_EQUALS                                 none       SDLK_WORLD_20
  161. BX_KEY_EQUALS+BX_KEY_ALT_R                    '╕'        SDLK_WORLD_20
  162. BX_KEY_EQUALS+BX_KEY_SHIFT_L                  '`'        SDLK_WORLD_20
  163. BX_KEY_ESC                                    none       SDLK_ESCAPE
  164. BX_KEY_GRAVE                                  '^'        SDLK_CARET
  165. BX_KEY_GRAVE+BX_KEY_SHIFT_L                   '░'        SDLK_CARET
  166. BX_KEY_GRAVE+BX_KEY_ALT_R                     '¼'        SDLK_CARET
  167. BX_KEY_HOME                                   none       SDLK_HOME
  168. BX_KEY_INSERT                                 none       SDLK_INSERT
  169. BX_KEY_KP_5                                   none       SDLK_KP5
  170. BX_KEY_KP_ADD                                 none       SDLK_KP_PLUS
  171. BX_KEY_KP_DELETE                              none       SDLK_KP_PERIOD
  172. BX_KEY_KP_DIVIDE                              none       SDLK_KP_DIVIDE
  173. BX_KEY_KP_DOWN                                none       SDLK_KP2
  174. BX_KEY_KP_END                                 none       SDLK_KP1
  175. BX_KEY_KP_ENTER                               none       SDLK_KP_ENTER
  176. BX_KEY_KP_HOME                                none       SDLK_KP7
  177. BX_KEY_KP_INSERT                              none       SDLK_KP0
  178. BX_KEY_KP_LEFT                                none       SDLK_KP4
  179. BX_KEY_KP_MULTIPLY                            none       SDLK_KP_MULTIPLY
  180. BX_KEY_KP_PAGE_DOWN                           none       SDLK_KP3
  181. BX_KEY_KP_PAGE_UP                             none       SDLK_KP9
  182. BX_KEY_KP_RIGHT                               none       SDLK_KP6
  183. BX_KEY_KP_SUBTRACT                            none       SDLK_KP_MINUS
  184. BX_KEY_KP_UP                                  none       SDLK_KP8
  185. BX_KEY_LEFT                                   none       SDLK_LEFT
  186. BX_KEY_LEFT_BACKSLASH+BX_KEY_ALT_R            '|'        SDLK_LESS
  187. BX_KEY_LEFT_BACKSLASH+BX_KEY_SHIFT_L          '>'        SDLK_GREATER
  188. BX_KEY_LEFT_BACKSLASH                         '<'        SDLK_LESS
  189. BX_KEY_LEFT_BRACKET+BX_KEY_SHIFT_L            '▄'        SDLK_WORLD_92
  190. BX_KEY_LEFT_BRACKET                           'ⁿ'        SDLK_WORLD_92
  191. BX_KEY_MENU                                   none       SDLK_MENU
  192. BX_KEY_MINUS+BX_KEY_ALT_L                     backslash  SDLK_BACKSLASH
  193. BX_KEY_MINUS+BX_KEY_SHIFT_L                   '?'        SDLK_QUESTION
  194. BX_KEY_MINUS                                  '▀'        SDLK_WORLD_63
  195. BX_KEY_NUM_LOCK                               none       SDLK_NUMLOCK
  196. BX_KEY_PAGE_DOWN                              none       SDLK_PAGEDOWN
  197. BX_KEY_PAGE_UP                                none       SDLK_PAGEUP
  198. BX_KEY_PAUSE                                  none       SDLK_BREAK
  199. BX_KEY_PAUSE                                  none       SDLK_PAUSE
  200. BX_KEY_PERIOD+BX_KEY_SHIFT_L                  ':'        SDLK_COLON
  201. BX_KEY_PERIOD                                 '.'        SDLK_PERIOD
  202. BX_KEY_PERIOD+BX_KEY_ALT_L                    '╖'        SDLK_PERIOD
  203. BX_KEY_PRINT                                  none       SDLK_PRINT
  204. BX_KEY_PRINT                                  none       SDLK_SYSREQ
  205. BX_KEY_RIGHT                                  none       SDLK_RIGHT
  206. BX_KEY_RIGHT_BRACKET+BX_KEY_ALT_R             '~'        SDLK_PLUS
  207. BX_KEY_RIGHT_BRACKET+BX_KEY_SHIFT_L           '*'        SDLK_PLUS
  208. BX_KEY_RIGHT_BRACKET                          '+'        SDLK_PLUS
  209. BX_KEY_SCRL_LOCK                              none       SDLK_SCROLLOCK
  210. BX_KEY_SEMICOLON+BX_KEY_SHIFT_L               '╓'        SDLK_WORLD_86
  211. BX_KEY_SEMICOLON                              '÷'        SDLK_WORLD_86
  212. BX_KEY_SHIFT_L                                none       SDLK_LSHIFT
  213. BX_KEY_SHIFT_R                                none       SDLK_RSHIFT
  214. BX_KEY_SINGLE_QUOTE+BX_KEY_SHIFT_L            '─'        SDLK_WORLD_68
  215. BX_KEY_SINGLE_QUOTE                           'Σ'        SDLK_WORLD_68
  216. BX_KEY_SLASH                                  '-'        SDLK_MINUS
  217. BX_KEY_SLASH+BX_KEY_SHIFT_L                   '_'        SDLK_UNDERSCORE
  218. BX_KEY_SPACE                                  space      SDLK_SPACE
  219. BX_KEY_TAB                                    tab        SDLK_TAB
  220. BX_KEY_UP                                     none       SDLK_UP
  221. BX_KEY_WIN_L                                  none       SDLK_LSUPER
  222. BX_KEY_WIN_R                                  none       SDLK_RSUPER
  223.